<?php
/* @var $this ProceduresController */
/* @var $model Procedures */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>



	<div class="row">
		<?php echo $form->label($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>60,'maxlength'=>200)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'database_id'); ?>
		<?php echo $form->textField($model,'database_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'status'); ?>
		
		<?php echo $form->dropDownList($model, 'status',array(0=>"OK",1=>"NOT OK",2=>"Missing"),array('empty' => '(Select a Status)'));?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
